package com.universalInterface.lims_interface.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.universalInterface.common.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 实验室测试报告数据结论表
 * </p>
 *
 * @author author
 * @since 2023-12-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("test_conclusion")
@Schema(name = "TestConclusion", description = "实验室测试报告数据结论表")
public class TestConclusion extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 2445921210207313066L;

	@Schema(name = "testReportGuid", description = "试验报告GUID")
	@TableField(value = "test_report_guid")
	private Long testReportGuid;

	@Schema(name = "remarks1", description = "备注1")
	@TableField(value = "remarks1")
	private String remarks1;

	@Schema(name = "remarks2", description = "备注2")
	@TableField(value = "remarks2")
	private String remarks2;

	@Schema(name = "remarks3", description = "备注3")
	@TableField(value = "remarks3")
	private String remarks3;

	@Schema(name = "conclusion", description = "结论")
	@TableField(value = "conclusion")
	private String conclusion;

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@Schema(name = "time", description = "报告出具时间")
	@TableField(value = "time")
	private LocalDateTime time;

	@Schema(name = "inspector", description = "测试人")
	@TableField(value = "inspector")
	private String inspector;

}
